package cn.yl.order.server.entity.vo;

import cn.yl.api.server.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 支付订单信息表
 * </p>
 *
 * @author yl
 * @since 2022-04-22
 */
@Getter
@Setter
@Accessors(chain = true)
@ApiModel(value = "PayOrderVo对象", description = "支付订单Vo信息表")
public class PayOrderVo {

    private static final long serialVersionUID = 1L;
    private Integer userId;
    private String CodeUrl;
    @ApiModelProperty("订单号(唯一)")
    private String orderNo;
    /**
     * 课程id
     */
    private Integer courseId;
    /**
     * 活动课程id
     */
    private Integer activityCourseId;

    @ApiModelProperty("支付来源 1-app 2-h5 3-pc")
    private Integer source;

    private Integer productId;

    private String productName;

    @ApiModelProperty("金额,单位元")
    private BigDecimal amount;

    private String buyId;

    private String extra;
}
